using System.Collections.Generic;
using UnityEngine;

public class DialugueInteractionController : InteractiveObject
{
    [Header("对话内容")]
    public ZDialogue dialogue;

    protected override void Interact()
    {
        var panel = UIManager.Instance.OpenPanel(UIConst.DialoguePanel) as DialoguePanel;
        if (panel == null) return;
        panel.ShowDialogue(dialogue.dialogueList);
    }
}